package com.ynny.bean10;

public class Test {
    public static void main(String[] args) {
        Bank01 bank01 = new Bank01();
        bank01.takeNumber();
        bank01.transact();
        bank01.evaluate();
        System.out.println("-----------------------");


        Bank02 bank02 = new Bank02();
        bank02.takeNumber();
        bank02.transact();
        bank02.evaluate();
    }
}
